export default [
    {
        path: '/main',
        name: 'main',
        component: () => import('./main.vue'),
        redirect:'/home',
        children: [
            {
                path: '/home',
                name: 'home',
                component: () => import('./home.vue')
            },
            {
                path: '/classify',
                name: 'classify',
                component: () => import('./classify.vue')
            },
            {
                path: '/cart',
                name: 'cart',
                component: () => import('./cart.vue')
            },
            {
                path: '/mine',
                name: 'mine',
                component: () => import('./mine.vue')
            }
        ]
    }
]